package com.domain.dto.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "查询用户数据")
public class UserDTO{

    @Schema(description = "用户id", example = "1")
    private Integer userId;

    @Schema(description = "用户名", example = "张三")
    private String username;

    @Schema(description = "用户昵称", example = "小张三")
    private String nickname;

    @Schema(description = "用户邮箱", example = "xx@.email")
    private String email;

    @Schema(description = "用户头像", example = "url")
    private String avatar;

    @Schema(description = "用户年龄", example = "114")
    private Integer age;

    @Schema(description = "用户性别", example = "0（男），1（女）")
    private Integer gender;
}
